<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
   
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="__STATIC__/assets/css/bootstrap.min.css" rel="stylesheet">
    <style type="text/css">
    	.red{background: red;}
    	.blue{background: blueviolet;}
    </style>
  </head>
  <body>

   <ol class="breadcrumb">
   				 	  <li><a href="#">网站栏目</a></li>
				 	  <li><a href="{:url('index/websitelink/add')}">增加数据</a></li>
				 	  <li class="active"><a href="#"><数据列表</a></li>
   				 	</ol>
	<div class="container">
		<div class="row">
			<div class="col-md-2 "></div>
			<div class="col-md-8" >
			<ol class="breadcrumb">
				 	 	  <li><a href="#">网站栏目</a></li>
				 	  <li><a href="{:url('index/websitelink/add')}">增加数据</a></li>
				 	  <li class="active"><a href="#"><数据列表</a></li>
				 	</ol>
			
				
				
				<div class="table-responsive">
					<h2 class="text-center"></h2>
					<table class="table table-striped table-bordered">
						{notempty name="data"}
						<thead>
							<tr>
								<th>序号</th>
								<th>栏目名</th>
								<th>栏目地址</th>
								<th>备注</th>
								<th>状态</th>
								<th>排序</th>
								<th>创建时间</th>
								<th>操作</th>
							</tr>
						</thead>
						{/notempty}
						<tbody>
							{volist name='data' id='vo' empty='暂时没有数据'}
							<tr>
								<td>{$vo.id}</td>
								<td>{$vo.website_name}</a></td>
								<td>{$vo.href}</td>
								<td>{$vo.remark}</td>
								<td>{eq name="vo.status" value="0"}正常{else /}禁用{/eq}</td>
								<td>{$vo.sort}</td>
								<td>{$vo.create_time}</td>
								<td></td>
							</tr>
							{/volist}
						</tbody>
					</table>
					{$data|raw}
				</div>
					</div>
			</div>
				
			</div>
			<div  class="col-md-2 "></div>
		</div>
		
	</div>
	
	
    <script src="__STATIC__/assets/js/jquery.min.js"></script>   
    <script src="__STATIC__/assets/js/bootstrap.min.js"></script>
  </body>
</html>
